package nx.simple3d.data;

import java.util.ArrayList;
import java.util.List;

public class World {
  private List<Mesh> meshes;
  private Camera camera;
  
  public World(){}
   
  public List<Mesh> getMeshes(){
    if(meshes == null){
      meshes = new ArrayList<Mesh>();
    }
    return meshes;
  }
  
  public Camera getCamera(){
    if(camera == null){
      camera = new Camera(this);
    }
    return camera;
  }
}
